package com.yinbw.interview.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* 
* </p>
*
* @author yinbw  http://localhost:8080/swagger-ui/index.html
* @since 2025-02-13
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Questions对象", description="")
@TableName("questions")
public class Questions extends Model {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "分类")
    @TableField("`type`")
    private String type;
    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;


}